package com.ljb.android.comm.img.core

enum class ImgFormat(var value: Int) {

    Default(0),
    Blur(0),
    Circle(0),
    Round(10),
    RoundLeft(10),
    RoundRight(10),
    RoundTop(10),
    RoundBottom(10),
    RoundTopLeft(10),
    RoundTopRight(10),
    RoundBottomLeft(10),
    RoundBottomRight(10);


    /**
     * 圆角大小，单位：像素
     * */
    fun radius(value: Int): ImgFormat {
        this.value = value
        return this
    }
}